home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 19 / develop 19 code / SimpliFace_V2 / SimpliFace2 source code notes < prev    next >
Encoding:
Text File  |  1993-09-16  |  2.7 KB  |  28 lines  |  [TEXT/ttxt]

  1. SimpliFace version 1.0a2
  2. 30 August 1993
  3.  
  4. Copyright © 1993, commstalk hq. All Rights Reserved.
  5. Commercial use restricted: contact 'commstalk.hq' on AppleLink for details.
  6. Source code distribution is restricted.
  7.  
  8.  
  9. SimpliFace requires AppleScript version 1.0. It is a fairly basic scriptable & attachable AE Object Model compliant application. It offers simple window building facilities: you can use it to construct scripted windows that contain text fields (not editable text, yet) and buttons.
  10.  
  11. To build SimpliFace, you must have MPW 3.3.1 and MPW C++ (the latest versions from ETO#12). Set the directory to the "SimpliFace_Dev" directory, and run the "buildSimpliFace" shell script. Hopefully, I haven't missed anything out. Please note that you do need file "ASDebugging.h" to compile SimpliFace.
  12.  
  13. The program is based around a C++ framework, similar to that used in the 'ASLM' sample applications (ASLM is not used in SimpliFace). I like to use lightweight C++ classes that don't depend on one-another too much (thus aiding their re-use), so the program structure is not so tightly integrated as (say) a MacApp program. In the spirit of sample applications, most of the error handling has been 'left for later'.
  14.  
  15. All application-domain scriptable objects derive from a 'TScriptableObject' (see source file "ScriptableObjects.h") that has an attached script and is able to assist with object resolution and apple event handling. A 'TObjModelToken' class (see "ObjModelTokens.h")  is defined to manage token resolution and apple event dispatching; the interaction of these is managed from a bunch of static functions in "ObjModelEvents.cp". The application's behaviour is defined in "Application.cp" and "SimpliFace.cp" (the latter contains the main program function).
  16.  
  17. There is still some work to do: editable text fields, the ability to save persistent globals (probably in a file in the preferences folder), make all window & button kinds and object properties work, not to mention some more testing and debugging. There is an active proc, but I have not implemented ae-sending hooks or an idle proc yet. I also need to strip out some redundant code: not everything is actually being used. 
  18.  
  19.  
  20. SimpliFace is an unsupported prototype, and we do not expect SimpliFace will become a product in its own right, but it does form a test-bed for technologies incorporated in our 'AgentBuilder' application (and most important of all, the source code will hopefully form the basis of a 'develop' magazine article - so it needs to be right!). Accordingly, we want to receive your bug reports and suggestions. Send your feedback by electronic mail, please, to:
  21. - AppleLink: 'commstalk.hq'
  22. - Internet: 'commstalk.hq@applelink.apple.com'
  23.  
  24.  
  25. Paul G Smith
  26. commstalk hq
  27. August 1993
  28.